package com.erju.controller;

import com.erju.service.ExamineService;
import com.erju.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

/**
 * @Description: 实验室数据检测控制
 * @author: erju
 * @date: 2022.06.01
 */

@RestController
@RequestMapping("/examine")
public class ExamineController {
    @Autowired
    ExamineService examineService;

    @RequestMapping("/selectAllExamine")
    public Result selectAllExamine() {
        return examineService.selectAllExamine();
    }
    @RequestMapping("/getAllLabName")
    public Result getAllLabName() {
        return examineService.getAllLabName();
    }
}
